SET(SRC_FILES 
	./main.cpp
)

SET(INCLUDE_DIRS
	${PROJECT_SOURCE_DIR}/corelib/include
	${PROJECT_SOURCE_DIR}/guilib/include
	${UtiLite_INCLUDE_DIRS}
	${OpenCV_INCLUDE_DIRS}
)

INCLUDE(${QT_USE_FILE})

SET(LIBRARIES
    ${UtiLite_LIBRARIES}
    ${QT_LIBRARIES} 
	${OpenCV_LIBRARIES} 
)

#include files
INCLUDE_DIRECTORIES(${INCLUDE_DIRS})

ADD_EXECUTABLE(sensorHistoryViewer WIN32 ${SRC_FILES})
TARGET_LINK_LIBRARIES(sensorHistoryViewer corelib guilib ${LIBRARIES})

SET_TARGET_PROPERTIES( sensorHistoryViewer 
  PROPERTIES OUTPUT_NAME ${PROJECT_PREFIX}-sensorHistoryViewer)
  